<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>RGBA</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">RGBA()</font></b></p>
<p><b>语法</b></p><blockquote>

Color = <font color="#3A3966"><b>RGBA</b></font>(Red, Green, Blue, Alpha)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the 32-bit color value corresponding to the Red, Green, Blue and Alpha values. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Red, Green, Blue</i></td>
<td width="90%"> 
 
The value of the red, green and blue components for the color. Each value 
must be between 0 and 255. 

 

</td></tr>
<tr><td><i>Alpha</i></td>
<td> 
The alpha component of the color. The value must be between 0 and 255. 零意味着完全透明，255意味着完全不透明。 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the combined color value. 

 

</blockquote><p><b>备注</b></p><blockquote>



To extract the red, green, blue or alpha values from a 32-bit color value, use 
the <a href="red.html">Red()</a>, <a href="green.html">Green()</a>, <a href="blue.html">Blue()</a> and <a href="alpha.html">Alpha()</a> functions. 
These functions are useful to perform <a href="index.html">Drawing operations</a>. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="red.html">Red()</a>, <a href="green.html">Green()</a>, <a href="blue.html">Blue()</a>, <a href="alpha.html">Alpha()</a>, <a href="rgb.html">RGB()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=rgb.html>RGB()</a> - <a href="index.html">2DDrawing Index</a> - <a href="red.html">Red()</a> -&gt;<br><br>

</body></html>